Keycloak REST Services 1.5.0-Final

Path: / admin / realms / {realm} / client-session-stats

Returns a JSON map. The key is the client id, the value is the number of sessions that currently are active with that client. Only client's that actually have a session associated with them will be in this map.

Path parameters:
realm - realm name (not id!)

Resource Methods
Method Summary
NameDescription
GET /admin/realms/{realm}/client-session-statsReturns a JSON map.

Method Detail

GET /admin/realms/{realm}/client-session-stats

Returns a JSON map. The key is the client id, the value is the number of sessions that currently are active with that client. Only client's that actually have a session associated with them will be in this map.

HTTP Example:
GET /admin/realms/{realm}/client-session-stats
API Example:

RealmAdminResource.getClientSessionStats({'realm': /* name realm name (not id!) */});

Output:
List<Map<String,String>> -
Produces:
application/json

Keycloak REST Services 1.5.0-Final